import List from '@ohos.util.List';

export function convertToList(list: string[]): List<string> {
  let res: List<string> = new List<string>();
  for (let item of list) {
    res.add(item)
  }
  return res
}